//
//  KATBannerDelagate.h
//  KATFramework
//
//  Created by Kantice on 15/9/11.
//  Copyright (c) 2015年 KatApp. All rights reserved.
//  幻灯片轮播控件协议

#import <Foundation/Foundation.h>

#import "KATBannerData.h"


@class KATBanner;

@protocol KATBannerDelegate <NSObject>

@optional

///图片点击事件
- (void)banner:(KATBanner *)banner didTapWithData:(KATBannerData *)data;

///图片变化事件
- (void)banner:(KATBanner *)banner didChangeWithData:(KATBannerData *)data;

///开始缩放图片
- (void)banner:(KATBanner *)banner willScaleWithData:(KATBannerData *)data;

///结束缩放图片(大于原尺寸时触发)
- (void)banner:(KATBanner *)banner didScaleWithData:(KATBannerData *)data;

///最大化图片
- (void)banner:(KATBanner *)banner didMaximizeWithData:(KATBannerData *)data;

///开始拖动图片
- (void)banner:(KATBanner *)banner willDragWithData:(KATBannerData *)data;


@end
